home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / MISCC.ARJ / GETARGS.H < prev    next >
Text File  |  1992-06-23  |  377b  |  15 lines

  1. /*    getargs.h - typedefs and defines needed for getargs    */
  2.  
  3. #define INTEGER        0
  4. #define BOOLEAN        1
  5. #define CHARACTER    2
  6. #define STRING        3
  7. #define PROC        4
  8.  
  9. typedef struct
  10. {    unsigned    arg            ; /* command line switch */
  11.     unsigned    type        ; /* variable type (of those #defined above) */
  12.     int            *variable    ; /* pointer to variable */
  13.     char        *errmsg        ; /* pointer to error message */
  14. } ARG;
  15.